package com.miyake.dsp.convolution.ui;

import com.miyake.dsp.DspComposite.DspCompositeHandler;
import com.miyake.dsp.convolution.ConvolutionSetting;
import com.miyake.dsp.ui.DspCompositeUI;
import com.miyake.dsp.ui.DspWidget;

public class ConvolutionSettingUI extends DspWidget {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6666197439647831254L;

	public ConvolutionSettingUI(DspCompositeUI composite) {
		this.setName("Convolution Setting");
		this.setLayout(null);
		this.setSize(500, 300);
		composite.run();
		composite.layout(this, 0, 0);
		
		DspCompositeHandler handler = new DspCompositeHandler() {
			@Override
			public void onRun() {
				fireChange("");
			}
		};
			
		composite.getComposite().addHandler(handler);
	}
}
